package com.edu.swu.domain;

import java.io.Serializable;
import java.util.Date;

public class Account implements Serializable {
    private int id;
    private String username;
    private String userSex;
    private String address;
    private int userAge;
    private int userWeight;
    private Date birthday;

    public Account() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getUserAge() {
        return userAge;
    }

    public void setUserAge(int userAge) {
        this.userAge = userAge;
    }

    public int getUserWeight() {
        return userWeight;
    }

    public void setUserWeight(int userWeight) {
        this.userWeight = userWeight;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", userSex='" + userSex + '\'' +
                ", address=" + address +
                ", userAge=" + userAge +
                ", userWeight=" + userWeight +
                ", birthday=" + birthday +
                '}';
    }
}
